<h2>Archiwum Chatboxa (najpierw nowsze)</h2>
<?php echo $this->Paginator->prev('< Poprzednia', null, null, array('class' => 'disabled')); ?>
&nbsp;&nbsp;
<?php echo $this->Paginator->numbers(); ?>
&nbsp;&nbsp;
<?php echo $this->Paginator->next('Następna >', null, null, array('class' => 'disabled')); ?>

<table>
	<tr>
            <th>Użytkownik</th>
            <th>Wiadomość</th>
	</tr>
	   <?php foreach($data as $message): ?>
	<tr>
                <td><?php echo $message['ChatboxMessage']['nickname']; ?> </td>
		<td><?php echo $this->Emoticons->emoticonize($message['ChatboxMessage']['content']); ?> </td>
	</tr>
	<?php endforeach; ?>
</table>

<?php echo $this->Paginator->prev('< Poprzednia', null, null, array('class' => 'disabled')); ?>
&nbsp;&nbsp;
<?php echo $this->Paginator->numbers(); ?>
&nbsp;&nbsp;
<?php echo $this->Paginator->next('Następna >', null, null, array('class' => 'disabled')); ?>
